package com.yilin.tms.truck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.truck.TravelLicense;
import com.yilin.tms.core.entity.user.account.Account;

public interface ITravelLicenseService extends IService<TravelLicense> {
    PageData<TravelLicense> getTravelLicensePage(Account loginUser, TravelLicense query, Integer start, Integer limit);

    void saveTravelLicense(Account user, TravelLicense travelLicense);

    void verifyAndUpdateAuth(Account loginUser, TravelLicense travelLicense);

}
